package com.baosight.risk.service.riaa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIAA_EVALUATE
 */
@Data
@ApiModel
@Table(name = "T_RIAA_EVALUATE")
public class RiaaEvaluate extends BaseEntity {

    /**
     * 父节点ID
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    PARENT_ID
     * Nullable:  true
     */
    @ApiModelProperty("父节点ID")
    @Column(name = "PARENT_ID")
    private String parentId;

    /**
     * 管理领域
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    FIELD_CODE
     * Nullable:  true
     */
    @ApiModelProperty("管理领域")
    @Column(name = "FIELD_CODE")
    private String fieldCode;

    /**
     * 管理领域说明
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    FIELD_NAME
     * Nullable:  true
     */
    @ApiModelProperty("管理领域说明")
    @Column(name = "FIELD_NAME")
    private String fieldName;

    /**
     * 管理目标
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    MANAGE_TARGET
     * Nullable:  true
     */
    @ApiModelProperty("管理目标")
    @Column(name = "MANAGE_TARGET")
    private String manageTarget;

    /**
     * 测评标准
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    ASSESS_STANDARD
     * Nullable:  true
     */
    @ApiModelProperty("测评标准")
    @Column(name = "ASSESS_STANDARD")
    private String assessStandard;

    /**
     * 权重
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    WEIGHT
     * Nullable:  true
     */
    @ApiModelProperty("权重")
    @Column(name = "WEIGHT")
    private BigDecimal weight;

    /**
     * 排序
     * <p>
     * Table:     T_RIAA_EVALUATE
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;
    /**
     *
     * 风险结题ID
     * <p>
     * Table:     T_RIFI_EVALUATE
     * Column:    EVALUATE_NO
     * Nullable:  true
     */
    @ApiModelProperty("管理目标排序字段")
    @Column(name = "EVALUATE_NO")
    private String evaluateNo;

    private static final long serialVersionUID = 1L;
}